---
title: Pages.ReplaceShapesCanceled Event (Visio)
ms.prod: visio
ms.assetid: f0ce8c66-7a15-5f91-8c89-e177bc6671d2
ms.date: 06/08/2017
---


# Pages.ReplaceShapesCanceled Event (Visio)

Occurs after an event handler has returned  **True** (cancel) to a **QueryCancelReplaceShapes** event.


## Syntax

 _expression_ . **ReplaceShapesCanceled**_(replaceShapes)_

 _expression_ A variable that represents a **Pages** object.


### Parameters



|**Name**|**Required/Optional**|**Data type**|**Description**|
|:-----|:-----|:-----|:-----|
|||||
| _replaceShapes_|Required|REPLACESHAPESEVENT|An object whose properties return information about the shape-replacement operation.|

## See also


#### Concepts


[Pages Object](pages-object-visio.md)

